package top.rish.rib.base.utils;

import cn.dev33.satoken.stp.StpLogic;

public class StpUserUtil {

    private static final String admin_user = "admin_user";
    public static StpLogic adminStp = new StpLogic(admin_user) {

        @Override
        public String splicingKeyTokenName() {
            return super.splicingKeyTokenName() + "_"+admin_user;
        }

        @Override
        public StpLogic setLoginType(String loginType) {
            return super.setLoginType(admin_user);
        }

    };
}